<%@ Page language="C#" validateRequest="false" AutoEventWireup="true" CodeFile="edit_comment.aspx.cs" Inherits="edit_comment" %>
<!--
Copyright 2002-2011 Corey Trager
Distributed under the terms of the GNU General Public License
-->
<html>
<head>
<title id="titl" runat="server">btnet edit comment</title>
<link rel="StyleSheet" href="btnet.css" type="text/css">
<script type="text/javascript" language="JavaScript" src="jquery/jquery-1.3.2.min.js"></script>
<script type="text/javascript" language="JavaScript" src="jquery/jquery-ui-1.7.2.custom.min.js"></script>
<script type="text/javascript" language="JavaScript" src="jquery/jquery.textarearesizer.compressed.js"></script>
<%  if (security.user.use_fckeditor) { %>
<script type="text/javascript" src="ckeditor/ckeditor.js"></script>
<% } %>

<script>

$(document).ready(do_doc_ready);

function do_doc_ready()
{

<% 
	
	if (use_fckeditor)	
	{
		Response.Write ("CKEDITOR.replace( 'comment' )");
	}
	else
	{
		Response.Write("$('textarea.resizable:not(.processed)').TextAreaResizer()");
	}

%>

}
function comment_onclick() {

}

</script>
</head>
<body>
<% security.write_menu(Response, btnet.Util.get_setting("PluralBugLabel","bugs")); %>


<div class=align>
<table border=0><tr><td>

<a href=edit_bug.aspx?id=<% Response.Write(Convert.ToString(bugid));%>>back to <asp:Label ID="singular_bug_label" runat="server"></asp:Label></a>
<form class=frm runat="server">

	<table border=0>
		<tr>
		<td colspan=3>
		<textarea rows=16 cols=80 runat="server" class="txt resizable" id="comment" onclick="return comment_onclick()"></textarea>

		<tr>
		<td colspan=3>
		<asp:checkbox runat="server" class=cb id="internal_only"/>
		<span runat="server" id="internal_only_label">Visible to internal users only</span>
		</td>
		</tr>

		<tr><td colspan=3 align=left>
		<span runat="server" class=err id="msg">&nbsp;</span>

		<tr>
		<td colspan=2 align=center>
		<input runat="server" class=btn type=submit id="sub" value="Update">

	</table>
</form>
</td></tr></table></div>
<asp:Literal ID="custom_footer_label" runat="server"></asp:Literal></body>
</html>


